# $Id: PKGBUILD 150394 2012-02-17 11:30:28Z allan $
# Maintainer:
# Contributor: Judd Vinet <jvinet@zeroflux.org>

pkgname=snarf
pkgver=7.0
pkgrel=5
pkgdesc="Command-line URL retrieval tool (http/ftp/gopher)"
arch=('i686' 'x86_64')
url="http://www.xach.com/snarf/"
license=('GPL')
source=(http://www.xach.com/snarf/download/source/${pkgname}-${pkgver}.tar.gz)
md5sums=('7470d8457bc0d347b5cd8668c9e735c4')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install || return 1
}
